package xyz.jangle.date;

import java.util.Date;
import java.util.concurrent.TimeUnit;

public class SubDateM {

	public static void main(String[] args) {
		
		Date date = new Date();
		try {
			TimeUnit.SECONDS.sleep(1);
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
		Date date2 = new Date();
		Long sub =  date2.getTime() - date.getTime();
		System.out.println(sub);

	}

}
